package com.service;

import com.dto.DTO;
import com.entity.Member;
import com.exception.CustomException;

public interface MemberService {
    /**
     * 查询全部学生
     * @return
     */
    public DTO<Member> getAllMembers() throws Exception;
    public DTO<Member> updateMememberTest(Member member) throws CustomException ;
    public DTO<Member> addMember(Member member) throws CustomException;
    public DTO<Member> updateMember(Member member) throws CustomException;
    public DTO<Member> deleteMemberById(Integer aId) throws CustomException;;
}
